package com.eedi.org.enums;


import com.eedi.framework.common.exception.ErrorCode;

/**
 * ORG 错误码枚举类
 */
public interface OrgErrorCodeConstants {

    //========== 健康资讯 ==========
    ErrorCode HEALTH_INFO_GROUP_NOT_EXISTS = new OrgErrorCode(OrgErrorCodeType.HEALTHINFO,1, "健康资讯分类管理不存在");
    ErrorCode HEALTH_INFO_NOT_EXISTS = new OrgErrorCode(OrgErrorCodeType.HEALTHINFO,2,"健康资讯不存在");
    ErrorCode HEALTH_INFO_GROUP_APPLY_AVOID_DEL = new OrgErrorCode(OrgErrorCodeType.HEALTHINFO,3, "该分类下存在健康资讯，不允许删除");
    ErrorCode HEALTH_INFO_GROUP_SAME_NAME_EXIST = new OrgErrorCode(OrgErrorCodeType.HEALTHINFO,4, "已存在相同名称健康资讯分组");
    ErrorCode HEALTH_INFO_GROUP_APPLY_AVOID_DISABLE = new OrgErrorCode(OrgErrorCodeType.HEALTHINFO,5, "该分类下存在健康资讯，不允许禁用");

    //========== 系统科室 ==========
    ErrorCode HOSPITAL_NOT_EXISTS = new OrgErrorCode(OrgErrorCodeType.HOSPITAL,1,"医院不存在");
    ErrorCode HOSP_DEPT_NOT_EXISTS = new OrgErrorCode(OrgErrorCodeType.HOSPITAL,2, "医院科室不存在");
    ErrorCode HOSPITAL_SAME_NAME_EXIST = new OrgErrorCode(OrgErrorCodeType.HOSPITAL,3, "已存在相同名称医院");
    ErrorCode HOSPITAL_DOCTOR_EXIST_AVOID_DEPT = new OrgErrorCode(OrgErrorCodeType.HOSPITAL,4, "该医院下存在医生，不允许删除");
    ErrorCode HOSPITAL_DEPT_DOCTOR_EXIST_AVOID_DEPT = new OrgErrorCode(OrgErrorCodeType.HOSPITAL,5, "该科室下存在医生，不允许删除");
    ErrorCode HOSPITAL_DEPT_SAME_NAME_EXIST = new OrgErrorCode(OrgErrorCodeType.HOSPITAL,6, "同一医院下已存在相同名称部门");


    // ========== AUTH 模块 1-002-000-000 ==========
    ErrorCode AUTH_THIRD_LOGIN_NOT_BIND = new OrgErrorCode(OrgErrorCodeType.BASE, 5, "未绑定账号，需要进行绑定");



}
